hysop.symbolic.spectral module¶
- class hysop.symbolic.spectral.AppliedSpectralTransform(*args)[source]¶
Bases:
AppliedSymbolicField
An applied spectral transform.
- property all_vars¶
- default_assumptions: ClassVar[StdFactKB] = {}¶
- property domain¶
- property dtype¶
- property field¶
- property frame¶
- free_symbols = {}¶
- property freq_vars¶
- property is_forward¶
- property is_number¶
bool(x) -> bool
Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.
- property lboundaries¶
- property rboundaries¶
- property space_vars¶
- property spatial_axes¶
- property transformed_axes¶
- property transforms¶
- property wave_numbers¶
- class hysop.symbolic.spectral.SpectralTransform(field, axes=None, forward=True)[source]¶
Bases:
SymbolicField
A single spectral transform that may be applied. This object can also be used as am sympy expression (and a FieldExpression).
This expression carries datatype and boundary conditions.
- class hysop.symbolic.spectral.WaveNumber(axis, transform, exponent, **kwds)[source]¶
Bases:
Dummy
Wave number symbol for SpectralTransform derivatives (and integrals).
Symbols are identified by name and assumptions:
>>> from sympy import Symbol >>> Symbol("x") == Symbol("x")
True >>> Symbol(“x”, real=True) == Symbol(“x”, real=False) False
- property axis¶
- default_assumptions: ClassVar[StdFactKB] = {}¶
- dummy_index¶
- property exponent¶
- property is_complex¶
- property is_real¶
- property transform¶
- class hysop.symbolic.spectral.WaveNumberIndex(axis)[source]¶
Bases:
Symbol
Symbols are identified by name and assumptions:
>>> from sympy import Symbol >>> Symbol("x") == Symbol("x")
True >>> Symbol(“x”, real=True) == Symbol(“x”, real=False) False
- default_assumptions: ClassVar[StdFactKB] = {}¶
- property real_index¶